
<!-- onHandleChange报错关掉vetur -->

<script lang="tsx">
import { defineComponent, ref } from 'vue'
import YxInput from '../components/input/src/input'
export default defineComponent({
  name: 'TsxTest',
  setup() {
    const inputValue = ref('1')
    const handleChange = (emit: string) => {
      console.log(emit)
    }
    return () => (
      <>
        <YxInput
          onHandleChange={handleChange}
          value={inputValue.value}
        ></YxInput>
        <span>2</span>
        <div>11</div>
      </>
    )
  },
})
</script>

